<template>
  <el-tooltip
    class="item"
    effect="dark"
    content="刷新"
    placement="bottom-start"
  >
    <el-icon
      class="refresh-ico"
      @click="refresh"
    >
      <RefreshLeft />
    </el-icon>
  </el-tooltip>
</template>

<script lang="ts" setup>
function refresh () {
  location.reload()
}
</script>

<style lang="scss">
.refresh-ico{
  width: 20px;
  vertical-align:middle;
  margin-right: 20px;
}
</style>
